//
//  ColorMacros.h
//  PinGJByOwnerSide
//
//  Created by lantaiyuan on 2017/8/5.
//  Copyright © 2017年 lantaiyuan. All rights reserved.
//

#ifndef ColorMacros_h
#define ColorMacros_h

// 获取RGB颜色
#define RGBA(r,g,b,a) [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a]
#define RGB(r,g,b) RGBA(r,g,b,1.0f)
#define ClearColor [UIColor clearColor]

#define RANDOM_COLOR [UIColor colorWithRed:arc4random_uniform(255)/255.0 green:arc4random_uniform(255)/255.0 blue:arc4random_uniform(255)/255.0 alpha:1]

// 导航栏颜色
#define NAV_BAR_COLOR [UIColor colorWithHexString:@"#3b3a3f"]

// 导航栏标题颜色
#define NAV_TITLE_COLOR [UIColor whiteColor]

// 标签栏颜色（高亮）
#define TABBAR_COLOR_HIGHLIGHTED [UIColor colorWithHexString:@"#00a73c"]

// 标签栏颜色
#define TABBAR_COLOR [UIColor colorWithHexString:@"#666666"]

// 背景色
#define CONTENT_BG_COLOR [UIColor colorWithHexString:@"#f5f5f5"]

// 分隔线颜色
#define SEPARATE_LINE_COLOR [UIColor colorWithHexString:@"#e8e8e8"]

// 边框线颜色
#define BORDER_COLOR [UIColor colorWithHexString:@"#faaf19"]

// 边框线颜色(灰色)
#define BORDER_COLOR_GRAY [UIColor colorWithHexString:@"#dddddd"]

// 标题颜色
#define TITLE_COLOR [UIColor colorWithHexString:@"#333333"]

// 副标题颜色
#define SUB_TITLE_COLOR [UIColor colorWithHexString:@"#666666"]

// 占位文字颜色
#define PLACEHOLDER_COLOR [UIColor colorWithHexString:@"#bbbbbb"]
// 边框颜色
#define WORK_LINE_COLOR [UIColor colorWithHexString:@"#bbbbbb"]
// 错误提示文字颜色
#define ERROR_COLOR [UIColor colorWithHexString:@"#fa4535"]

// 成功文字颜色
#define SUCCESS_COLOR [UIColor colorWithHexString:@"#5298ff"]

// 支付颜色
#define PAY_COLOR [UIColor colorWithHexString:@"#faaf19"]

// 按住时的颜色
#define PRESS_COLOR [UIColor colorWithHexString:@"#1d7f38"]

// 绿色
#define GREEN_COLOR [UIColor colorWithHexString:@"#2ab650"]

// 红色
#define RED_COLOR [UIColor colorWithHexString:@"#fa4535"]

// 橘色
#define ORANGE_COLOR [UIColor colorWithHexString:@"#fa483a"]

// 灰色
#define GRAY_COLOR [UIColor colorWithHexString:@"#999999"]

// 白色
#define WHITE_COLOR [UIColor colorWithHexString:@"#ffffff"]
//深灰
#define DEEP_GRAY_COLOR [UIColor colorWithHexString:@"#7a7a7a"]
// 轮播条颜色
#define pageDot_Color [UIColor colorWithHexString:@"#229240"]

// 地图线条颜色
#define MAP_LINE_COLOR [UIColor colorWithHexString:@"#5298ff"]

//日历背景色
#define CALENDAR_BG_COLOR [UIColor colorWithHexString:@"#dddddd"]
//日历文字色
#define CALENDAR_SUBTITLE_COLOR [UIColor colorWithHexString:@"#AAAAAA"]
//评价页面按钮
#define Emergency_COLOR [UIColor colorWithHexString:@"#bbbbbb"]
//橘色
#define ORANGEe_COLOR [UIColor colorWithHexString:@"#fa9338"]
//橘红色
#define RED_ORANGE_COLOR [UIColor colorWithHexString:@"#fb6a67"]
//紫色
#define PUPO_COLOR [UIColor colorWithHexString:@"#d989f7"]
//蓝色
#define BLUE_COLOR [UIColor colorWithHexString:@"#5da7fa"]
//深蓝色
#define DipBlue_COLOR [UIColor colorWithHexString:@"#00ccff"]
//紫色
#define purple_color [UIColor colorWithHexString:@"#5cccfa"]
//发现定制公交颜色
#define discover_purple_color [UIColor colorWithHexString:@"#ff9a0a"]
//拼车订单待支付
#define discover_red_color [UIColor colorWithHexString:@"#fb5042"]

#define LoginTextfieldColor [UIColor colorWithHexString:@"#7ecc8f"]
#define setPayWordColor [UIColor colorWithHexString:@"#b4b4b4"]
#endif /* ColorMacros_h */
